Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Using Java AWT and SWING applets in Notes client.
~Justin Asaboosilitader 14.Mar.03 02:45 AM a Web browser
Notes Client All Releases Windows 2000


For ISSUE #1 you can use following workaround:

define editor component

JTextField jTableField = new JTextField() {
public void requestFocus() {
if (jTable1.hasFocus()) {
jTable1.dispatchEvent(new FocusEvent(this, FocusEvent.FOCUS_LOST, false));
};
super.requestFocus();
jTableField.dispatchEvent(new FocusEvent(this, FocusEvent.FOCUS_GAINED, false));
};
};

... and the table itself

jTable1 = new JTable(model) {

public void requestFocus() {
if (jTableField.hasFocus()) {
jTableField.dispatchEvent(new FocusEvent(this, FocusEvent.FOCUS_LOST, false));
};
super.requestFocus();
jTable1.dispatchEvent(new FocusEvent(this, FocusEvent.FOCUS_GAINED, false));
};




Using Java AWT and SWING applets in... (~Lorraine Chutu... 12.Feb.03)
. . RE: Using Java AWT and SWING applet... (~Mark Bubnizen 7.Mar.03)
. . . . RE: Using Java AWT and SWING applet... (~Lorraine Chutu... 24.Mar.03)
. . RE: Using Java AWT and SWING applet... (~Justin Asaboos... 14.Mar.03)
. . . . Thanks -- good info. (~Lorraine Chutu... 24.Mar.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS